//
//  ActiveADViewController.swift
//  FirstSwiftProduct
//
//  Created by 知合金服-Mini on 2017/10/30.
//  Copyright © 2017年 范泽华. All rights reserved.
//

import UIKit

class ActiveADViewController: BasePushViewController ,UIWebViewDelegate{

    lazy var webView: UIWebView = {
        let web = UIWebView(frame: self.view.bounds)
        return web
    }()
    
    override func viewDidLoad() {
        super.viewDidLoad()

        webView.delegate = self
//        webView.loadRequest(URLRequest(url: <#T##URL#>)
        // Do any additional setup after loading the view.
    }

    //UIWebViewDelegate
    func webViewDidFinishLoad(_ webView: UIWebView) {
        
    }
    
    func webView(_ webView: UIWebView, didFailLoadWithError error: Error) {
        print(error.localizedDescription)
    }
    
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
